define(function (require, exports, module){
    const getHost = (env='dev')=>{
        let broker_center_host,oauth_host;
        switch (env) {
            case 'dev':
            broker_center_host = 'http://broker-center.dev.apitops.com/broker-center-web/api/';
            oauth_host= 'https://gateway.apitops.com/dev/oauth/';
                break;
            case 'test':
            broker_center_host = 'http://broker-center.test.apitops.com/broker-center-web/api/';
            oauth_host= 'https://gateway.apitops.com/test/oauth/';
                break;
            case 'beta':
            broker_center_host = 'http://broker-center.test.apitops.com/broker-center-web/api/';
            oauth_host= 'https://gateway.apitops.com/beta/oauth/';
                    break;
            case 'v5':
            broker_center_host = 'http://broker-center.apitops.com/broker-center-web/api/';
            oauth_host= 'https://gateway.apitops.com/oauth/';
                break;

            default:
                break;
        }
        return {
            broker_center_host,
            oauth_host,
        }
    }
    module.exports = getHost
})



